package xin.ganbo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 数据字典类型
 * @author ganbo E-mail:bo.gan@56qq.com
 * @since 2017-12-02 15:00
 */

@Entity
@Table(name = "sys_dictionarytype")
public class DictionaryType extends BaseEntity{

    @Column(unique = true)
    private String sn;  //唯一,不能修改
    private String name;    //数据字典明细domain名称

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
